var Transcript = function(messageManager, transcriptDiv) {
  this.transcriptDiv = $('#transcript-div');

  transcript = this;
  messageManager.registerHandler('m',
				 function(msg) {
				   transcript.updateTranscript(msg);
				 });
};

Transcript.prototype.updateTranscript = function(transcript) {
  this.transcriptDiv.append('<div class="transcript-item">'
			    + '<span class="transcript-name">'
			    + transcript[0]
			    + '</span>'
			    + '<span class="transcript-test">'
			    + transcript[1]
			    + '</span>'
			    + '</div>');
};